package com.hdoit.ares.logical.acti.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hdoit.ares.logical.share.model.ViewTime;
import com.tennetcn.common.message.ModelBase;
/**
 * @author      caochengmeng
 * @email       
 * @createtime  2018年03月12日 07:46:30
 * @comment
 */
@Entity
@Table(name="acti_activity")
public class Activity extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //活动名称
    @Column(name="name")
    private String name;

    //活动开始时间
    @Column(name="startDate")
    private Date startDate;

    //活动结束时间
    @Column(name="endDate")
    private Date endDate;

    //活动对象
    @Column(name="object")
    private String object;

    //活动类型
    @Column(name="actiType")
    private String actiType;

    //活动奖金
    @Column(name="reward")
    private String reward;
    
    //奖金类型
    @Column(name="rewardCurrency")
    private String rewardCurrency;

    //活动奖励兑换
    @Column(name="exchange")
    private String exchange;

    //活动说明
    @Column(name="content")
    private String content;

    //活动创建人
    @Column(name="createUserName")
    private String createUserName;

    //活动创建人Id
    @Column(name="createUserId")
    private String createUserId;

    //活动创建时间
    @Column(name="createDate")
    private Date createDate;

    //活动图片
    @Column(name="actiImg")
    private String actiImg;

    //活动状态
    @Column(name="actiState")
    private String actiState;

    //确认状态
    @Column(name="confirmState")
    private String confirmState;

    //假删除
    @Column(name="deleteMark")
    private String deleteMark;
    
    //活动链接
    @Column(name="actiUrl")
    private String actiUrl;
    
    //映射活动时间
    @Transient
    private String dateBetween;
    
    //映射活动时间标识
    @Transient
    private String signs;
    
    //映射参加人数
    @Transient
    private ViewTime viewTime;
    
    //活动剩余奖金
    @Transient
    private double leastReward;
    
	public double getLeastReward() {
		return leastReward;
	}
	public void setLeastReward(double leastReward) {
		this.leastReward = leastReward;
	}
	public String getSigns() {
		return signs;
	}
	public void setSigns(String signs) {
		this.signs = signs;
	}
	public String getRewardCurrency() {
		return rewardCurrency;
	}
	public void setRewardCurrency(String rewardCurrency) {
		this.rewardCurrency = rewardCurrency;
	}
	public String getActiUrl() {
		return actiUrl;
	}
	public void setActiUrl(String actiUrl) {
		this.actiUrl = actiUrl;
	}
	public String getDateBetween() {
		return dateBetween;
	}
	public void setDateBetween(String dateBetween) {
		this.dateBetween = dateBetween;
	}
	public ViewTime getViewTime() {
		return viewTime;
	}
	public void setViewTime(ViewTime viewTime) {
		this.viewTime = viewTime;
	}
	public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getName(){
        return this.name;
    }
    public void setName(String name){
         this.name=name;
    }

    public Date getStartDate(){
        return this.startDate;
    }
    public void setStartDate(Date startDate){
         this.startDate=startDate;
    }

    public Date getEndDate(){
        return this.endDate;
    }
    public void setEndDate(Date endDate){
         this.endDate=endDate;
    }

    public String getObject(){
        return this.object;
    }
    public void setObject(String object){
         this.object=object;
    }

    public String getActiType(){
        return this.actiType;
    }
    public void setActiType(String actiType){
         this.actiType=actiType;
    }

    public String getReward(){
        return this.reward;
    }
    public void setReward(String reward){
         this.reward=reward;
    }

    public String getExchange(){
        return this.exchange;
    }
    public void setExchange(String exchange){
         this.exchange=exchange;
    }

    public String getContent(){
        return this.content;
    }
    public void setContent(String content){
         this.content=content;
    }

    public String getCreateUserName(){
        return this.createUserName;
    }
    public void setCreateUserName(String createUserName){
         this.createUserName=createUserName;
    }

    public String getCreateUserId(){
        return this.createUserId;
    }
    public void setCreateUserId(String createUserId){
         this.createUserId=createUserId;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getActiImg(){
        return this.actiImg;
    }
    public void setActiImg(String actiImg){
         this.actiImg=actiImg;
    }

    public String getActiState(){
        return this.actiState;
    }
    public void setActiState(String actiState){
         this.actiState=actiState;
    }

    public String getConfirmState(){
        return this.confirmState;
    }
    public void setConfirmState(String confirmState){
         this.confirmState=confirmState;
    }

    public String getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(String deleteMark){
         this.deleteMark=deleteMark;
    }

}